package com.bgs.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

    @Data
    public class UserVo implements Serializable {

        private static final long serialVersionUID = 1L;

        @ApiModelProperty(value = "用户id")
        @TableId(value = "user_id", type = IdType.AUTO)
        private Integer userId;

        @ApiModelProperty(value = "用户名称")
        private String userName;

        @ApiModelProperty(value = "用户邮箱")
        private String email;

        @ApiModelProperty(value = "手机号")
        private String phone;

        @ApiModelProperty(value = "密码")
        private String password;

        @ApiModelProperty(value = "是否免密支付（0是开启 1是关闭）")
        private Integer secretfree;

        @ApiModelProperty(value = "是否消息推送（0是开启 1是关闭）")
        private Integer newspush;

        @ApiModelProperty(value = "性别 （用男、女表示）")
        private String sex;

        @ApiModelProperty(value = "头像（存放图片路径）")
        @TableField("Photoimg")
        private String Photoimg;

        @ApiModelProperty(value = "资产")
        private Double balance;

        @ApiModelProperty(value = "身份标识（1是用户 2是骑手 3是门店人员）")
        private Integer userType;

        @ApiModelProperty(value = "门店id")
        private Integer storeId;

        @ApiModelProperty(value = "支付密码")
        private String pwPayment;

        @ApiModelProperty(value = "职能")
        private String function;

        @ApiModelProperty(value = "入职时间")
        private String inductionTime;

        @ApiModelProperty(value = "创建时间")
        private LocalDateTime creationTime;

        @ApiModelProperty(value = "修改时间")
        private LocalDateTime updateTime;

        @ApiModelProperty(value = "是否删除（y是删除 n是未删除）")
        private String isDel;

        @TableField(exist = false)
        private String token;

        @TableField(exist = false)
        private String emailCode;


    }


